﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="PolicyApproval.aspx.cs" Inherits="ProjectSem3.Admin.WebForm26" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="message message-success" runat="server" id="mesage_success" visible="false" style="height:40px; margin:0 0 0 50px;">
	                    <p style="font-size:14px; color:Red;"> Delete Successful </p>
                        <asp:LinkButton OnClick="LinkButton1_Click" ID="LinkButton1" runat="server" title="Close this message" class="close icon icon_close tooltip"></asp:LinkButton>
</div>
<div class="hastable">
					<form name="myform" class="pager-form" method="post" action="#">
						<table id="sort-table"> 
						<thead> 
						<tr>
						    <th>Policy Name</th> 
						    <th>Username</th>
						    <th>Date Approvel</th>
                            <th>Amount</th>
                            <th></th>
						</tr> 
						</thead> 
						<tbody>
                        <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
						<tr> 
						    
                            <td><%# Eval("policyname")%></td>
						    <td><%# Eval("username")%></td>
                            <td><%# string.Format("{0:dd/MM/yyyy}", Eval("date"))%></td>
                            <td><%# String.Format("{0:0.##}", Eval("amount"))%></td>
						    <td>
                                <asp:HiddenField ID="HiddenFieldApp" runat="server" Value='<%# Eval("idapproval") %>' />
                                <asp:LinkButton ID="LinkButtonDelete" runat="server" OnClientClick="return confirm('Are you sure?')" OnClick="LinkButtonXoa_Click">Delete</asp:LinkButton>
                            </td> 
						</tr>
                        </ItemTemplate>
                        </asp:Repeater>
						</tbody>
						</table>
						<div id="pager" style="margin:-50px 0 25px 235px;">
					
								<a class="btn_no_text btn ui-state-default ui-corner-all first" title="First Page" href="#">
									<span class="ui-icon ui-icon-arrowthickstop-1-w"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all prev" title="Previous Page" href="#">
									<span class="ui-icon ui-icon-circle-arrow-w"></span>
								</a>
							
								<input type="text" class="pagedisplay"/>
								<a class="btn_no_text btn ui-state-default ui-corner-all next" title="Next Page" href="#">
									<span class="ui-icon ui-icon-circle-arrow-e"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all last" title="Last Page" href="#">
									<span class="ui-icon ui-icon-arrowthickstop-1-e"></span>
								</a>
								<select class="pagesize">
									<option value="10" selected="selected">10 results</option>
									<option value="20">20 results</option>
									<option value="30">30 results</option>
									<option value="40">40 results</option>
								</select>								
						</div>
	            </form>
    </div>
</asp:Content>
